package com.cjw.enums.user;

/**
 * @create_time: 2021.11.15
 * @author : cjw
 * @descripe: 用户状态
 */
public enum UserState {
    NORMAL("正常",0),
    BAN("被封",1),
    CANCEL("注销",2);

    private String msg;
    private int code;

    UserState(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
